package com.weipeep.sys.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.weipeep.sys.domain.StaffDO;
import com.weipeep.common.base.CoreService;
import com.weipeep.sys.vo.StaffVo;

import java.util.List;

/**
 * 
 * <pre>
 * 
 * </pre>
 * <small> 2018-04-19 11:24:57 | wangyun</small>
 */
public interface StaffService extends CoreService<StaffDO> {
    boolean insertStaff(StaffVo staff);

    boolean updateStaff(StaffVo student);

    boolean deleteStaffById(Long id);

    void deleteStaffBatchIds(List<Long> ids);

    Page<StaffVo> selectStaffPage(Page<StaffVo> page, StaffVo staff);

    int selectStaffCount(StaffVo staff);
    List<StaffVo> selectStaffList(StaffVo staffVo);

}
